﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="_Default" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
</head>
<body style="height: 585px">
    <form id="form1" runat="server">
     <asp:ScriptManager ID="ScriptManager1" runat="server">
            </asp:ScriptManager>
    <asp:UpdatePanel ID="UpdatePanel1" runat="server">
   
        <ContentTemplate>
            <asp:GridView ID="Person_Grid0" runat="server" AllowPaging="True" 
                AutoGenerateEditButton="True" Height="84px" 
                onpageindexchanging="Person_Grid_PageIndexChanging" 
                onrowediting="Person_Grid_RowEditing" 
                Width="153px" >
            </asp:GridView>
            
            <asp:Label ID="Label_selected0" runat="server" Text="id Number"></asp:Label>
            <asp:TextBox ID="TextBox_selected0" runat="server" Width="92px"></asp:TextBox>
            <asp:Button ID="Btn_load0" runat="server" onclick="Btn_load_Click" 
                Text="Load" />
            <asp:Button ID="Btn_new0" runat="server" onclick="Btn_edit_Click" Text="New" />
            <asp:Button ID="Btn_edit0" runat="server" onclick="Btn_edit_Click" 
                Text="Edit" />
            <asp:Button ID="Btn_delete0" runat="server" onclick="Btn_delete_Click" 
                Text="Delete" />
            <br />
            <br />
            <asp:Panel ID="EditPanel" runat="server" Height="1013px" Width="423px">
                &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                <asp:Label ID="Label_Attachment" runat="server" ForeColor="#999999" 
                    Text="Attachment"></asp:Label>
                <br />
                <br />
                <asp:Image ID="Image1" runat="server" BorderStyle="Solid" Height="167px" 
                    Width="119px" />
                <br />
                <br />
                <asp:Label ID="Label_id" runat="server" Text="id" Width="60px"></asp:Label>
                &nbsp;&nbsp;&nbsp;&nbsp;
                <asp:TextBox ID="TextBox_id" runat="server" Height="22px"></asp:TextBox>
                <br />
                <asp:Label ID="Label_name" runat="server" Text="fName" Width="60px"></asp:Label>
                &nbsp;&nbsp;&nbsp;&nbsp;
                <asp:TextBox ID="TextBox_name" runat="server"></asp:TextBox>
                <br />
                <asp:Label ID="Label_add1" runat="server" Text="lName" Width="60px"></asp:Label>
                &nbsp;&nbsp;&nbsp;&nbsp;
                <asp:TextBox ID="TextBox_add1" runat="server"></asp:TextBox>
                <br />
                <asp:Label ID="Label_add2" runat="server" Text="Age" Width="60px"></asp:Label>
                &nbsp;&nbsp;&nbsp;&nbsp;
                <asp:TextBox ID="TextBox_add2" runat="server"></asp:TextBox>
                <br />
                &nbsp;&nbsp;&nbsp;&nbsp;
                <br />
                <asp:Label ID="Label1" runat="server" Text="Adresses"></asp:Label>
                <br />
                <asp:GridView ID="AdressGrid" runat="server" AllowPaging="True" 
                    AutoGenerateEditButton="True" Height="84px" 
                    onpageindexchanging="Person_Grid_PageIndexChanging" 
                    onrowediting="Grid_RowEditing"  
                    Width="153px"  
                    >
                </asp:GridView>
                <asp:Button ID="AddressAdd" runat="server" onclick="Add_Click" 
                    Text="Add" />
                <asp:Button ID="AddressCancel" runat="server" Text="Cancel" />
                <br />
                <asp:Label ID="Label2" runat="server" Text="Contacts"></asp:Label>
                <br />
                <asp:GridView ID="ContactGrid" runat="server" AllowPaging="True" 
                    AutoGenerateEditButton="True" Height="84px" 
                    onpageindexchanging="Person_Grid_PageIndexChanging" 
                    onrowediting="Grid_RowEditing" 
                    Width="153px">
                </asp:GridView>
                <asp:Button ID="ContactAdd" runat="server" Text="Add" onclick="Add_Click" />
                <asp:Button ID="ContactCnacel" runat="server" Text="Cancel" />
                <br />
                <br />
                <br />
                <br />
                <br />
                &nbsp; &nbsp;&nbsp;&nbsp;<asp:Button ID="Btn_OK" runat="server" onclick="Btn_OK_Click" Text="OK" 
                    Width="100px" />
                &nbsp;
                <asp:Button ID="Btn_Cancel" runat="server" onclick="Btn_Cancel_Click" 
                    Text="Cancel" Width="100px" />
            </asp:Panel>
        </ContentTemplate>
    </asp:UpdatePanel>
    </form>
</body>
</html>
